
package com.lwl.java8.chapter8.template;

/**
 * 客户信息
 * 
 * @author lwl  2017年12月16日 下午9:26:40
 */
public class Customer {
	private String name;
	private int age;
	
	
	
	public Customer(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	@Override
	public String toString() {
		return "Customer [name=" + name + ", age=" + age + "]";
	}
	

}
